import { defineStore } from "pinia";
export const exchange = defineStore("exchange", {
    state: () => ({
        exchangeList: [], //
        // 获取交易列表请求体
        getTraListReq: {
            typeId: 0,
            page: 1,
            limit: 20,
            piName: ""
        },
        userOrderList: [],
        traOrderPage: {
            page: 1,
            limit: 20,
        },
        isCuRequire: false,
        orderType: "",
    }),
    getters: {},
    actions: {},
    persist: true,
});